<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/4/20
 * Time: 9:27
 */

namespace app\domain;
use app\server\StickPic as modelSP;

class StickPic
{
    public function addStickPicInfo ($data) {

        $data['create_time'] = date('Y-m-d H:i:s', time());

        $res = modelSP::addStickPicInfo($data);

        return $res;
    }

    public function getStickPicList($where, $field, $page) {

        $list = modelSP::getStickPicList($where, $field, $page);

        return $list;
    }

    public function updateUserOrderInfo($where, $data) {


        $res = modelSP::updateOrderInfo($where, $data);

        return $res;
    }

    public function getStickCarInfo ($where, $field = "*") {

        $res = modelSP::getStickCarNumber($where, $field);

        return $res;
    }
}